@import "./sass/_variable.scss";

#reward-list {
  box-sizing: border-box;
  padding: 0 $emptyWidth;
}

.reward-item {
  position: relative;
  margin: $emptyWidth auto;
  background-color: #fff;
  border-radius: 5px;
  overflow: hidden;
  border-bottom: 3px solid;
  background-repeat: no-repeat;
  background-position: calc(100% - 15px) 0;
  background-size: 80rem / $baseFontSize;
  &:after {
    position: absolute;
    content: '';
    box-sizing: border-box;
    top: 1px;
    left: 0;
    width: 200%;
    height: 200%;
    border-radius: 8px;
    border: 1px solid #cccccc;
    transform: scale(0.5);
    transform-origin: left top;
  }
  @at-root .reward-item-title {
    position: relative;
    padding: 8rem / $baseFontSize 15rem / $baseFontSize;
    box-sizing: border-box;
    &:after {
      @include scaleBottom;
    }
    h2 {
      font-weight: normal;
      font-size: 16rem / $baseFontSize;
      line-height: 1.4;
      max-width: 80%;
      text-align: justify;
    }
  }
  p {
    font-size: 13rem / $baseFontSize;
    height: 32rem / $baseFontSize;
    line-height: 32 / $baseFontSize;
    text-indent: 20rem / $baseFontSize;
    color: #999999;
  }
  &.good {
    border-bottom-color: #ff8c31;
    background-image: url('../images/j.png');
    h2 {
      color: #ff8c31;
    }
  }
  &.bad {
    border-bottom-color: #666666;
    h2 {
      color: #666666;
    }
    background-image: url('../images/s.png');
  }
}
